[python] Powerful Ultimate Binary Search Template Solved Many Problems

[python] Powerful Ultimate Binary Search Template Solved Many Problems